<!--学生修改个人信息-->
<link rel="stylesheet" href="./css/Modifyinformation.css">

<div class="modal-dialog modal fade" id="pwd1">
	<div class="modal-content">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal">&times;</button>
			<h4>失败</h4>
		</div>
		<div class="modal-body">
			<p>密码不能小于6位数！</p>
		</div>
		<div class="modal-footer">
			<button type="button" class="btn btn-default" class="close" data-dismiss="modal">确认</button>
		</div>
	</div>
</div>

<div class="modal-dialog modal fade" id="pwd2">
	<div class="modal-content">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal">&times;</button>
			<h4>错误</h4>
		</div>
		<div class="modal-body">
			<p>两次密码输入不一致！</p>
		</div>
		<div class="modal-footer">
			<button type="button" class="btn btn-default" class="close" data-dismiss="modal">关闭</button>
		</div>
	</div>
</div>

<div class="modal fade" id="bm_password" tabindex="-1" role="dialog" aria-labelledby="MymodalLabel">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h3 style="text-align: center;border-bottom: 0;padding-bottom: 0;margin-bottom: 0;">修改密码</h3>
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
			</div>
			<div class="modal-body" id="body">
				<form class="form-horizontal">
					<div class="form-group">
						<label class="sr-only" for="sno1">旧密码</label>
						<input type="password" class="form-control" id="old_password" placeholder="请输入旧密码" style="width:60%;margin-left:120px;">
					</div>
					<div class="form-group">
						<label class="sr-only" for="sno1">新密码</label>
						<input type="password" class="form-control" id="new_password" placeholder="请输入新密码" style="width:60%;margin-left:120px;">
					</div>
					<div class="form-group">
						<label class="sr-only" for="sno1">确认新密码</label>
						<input type="password" class="form-control" id="new_password2" placeholder="请再次输入新密码" style="width:60%;margin-left:120px;">
					</div>
				</form>
			</div>
			<div class="modal-footer" id="foot">
				<button type="button" class="btn btn-primary" data-dismiss="modal">关闭</button>
				<button type="button" class="btn btn-primary" data-dismiss="modal" id="ok_password">确认</button>
			</div>
		</div>
	</div>
</div>

<div class="modal fade" id="Modal_" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
	<div class="modal-dialog modal-lg" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title" id="exampleModalLabel">上传头像</h4>
				<button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
			</div>
			<div class="modal-body">
				<div class="file-loading input-group">
					<input id='location' class="form-control" onclick="$('#fileName').click();" placeholder="请选择头像">
					<label class="input-group-btn">
				  		<button id="i-check" class="btn btn-primary" onclick="$('#fileName').click();">选择头像</button>
				   </label>
				    <form action="/" method="post" id="form_">
				    	<input type="file" name="fileName" id="fileName" accept=".jpg,.jpeg,.png,.gif" onchange="$('#location').val(getFilesVal('#fileName'));" style="display: none;">
				    </form>
				</div>
				<div id="kartik-file-errors"></div>
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
				<button type="button" class="btn btn-primary" title="你必须上传照片" id="file_up" data-dismiss="modal">保存</button>
			</div>
		</div>
	</div>
</div>

<div class="student-big col-lg-10">
	<h3>修改资料</h3>
	<div class="student-img col-xs-12 col-sm-12 col-lg-2 col-md-2">
		<img id="img_src_4" src="./img/student.jpg">
		<p>
			<a id="img_up">修改头像</a>
		</p>
	</div>
	<div class="student-right col-sm-12 col-xs-12 col-md-10 col-lg-10">

	</div>
</div>

<script src="./js/Modifyinformation.js"></script>